<html>
 <head>
	<title>[var.TITLE]</title>
	<link href="[var.ROOT_CSS_DIR]/main.css" rel="STYLESHEET" type="text/css" charset="iso-8859-1" hreflang="en-us">
	<link href="[var.ROOT_CSS_DIR]/facet/style.css" rel="STYLESHEET" type="text/css" charset="iso-8859-1" hreflang="en-us">	
 </head>
 <body bgcolor="FFFFFF" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
	<table border="0" cellspacing="0" cellpadding="0" width="100%" align="[var.POSITION]">
		<tr height="100%">
			<td>
			<table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
				<tr valign="top">
					<td width="100%">
						<table border="0" cellspacing="0" cellpadding="5" width="100%">
							<tr>
								<td class="content2">
									<table border="0" cellspacing="0" cellpadding="0">
									<form method="post" name="page2" action="[var.FileName]?FormName=[var.FormName]" onsubmit="WriteData([var.Number]);self.close()">
										<tr>
											<td class="fieldCaption">Remark 1</td>
											<td class="fieldCaption">:</td>
											<td>
                                            <input type="text" name="uraian_a" size="20" maxlength="250" class="input" value="" onchange="this.value=this.value.toUpperCase()">
                                            </td>
										</tr>									
										<tr>
											<td class="fieldCaption">Remark 2</td>
											<td class="fieldCaption">:</td>
											<td>
                                            <input type="text" name="uraian_b" size="20" maxlength="250" class="input" value="" onchange="this.value=this.value.toUpperCase()">											
                                            </td>
										</tr>
										<tr>
											<td class="fieldCaption">Remark 3</td>
											<td class="fieldCaption">:</td>
											<td>
                                            <input type="text" name="uraian_c" size="20" maxlength="250" class="input" value="" onchange="this.value=this.value.toUpperCase()">											
                                            </td>
										</tr>
										<tr>
											<td class="fieldCaption">Remark 4</td>
											<td class="fieldCaption">:</td>
											<td>
                                            <input type="text" name="uraian_d" size="20" maxlength="250" class="input" value="" onchange="this.value=this.value.toUpperCase()">
                                            </td>
										</tr>
										<tr>
											<td class="menuHeader"></td>
											<td class="menuHeader"></td>
											<td align="right">
											<input type="button" name="Action" value="Ok" class="button" onclick="WriteData([var.Number]);self.close()">
											<input type="button" name="Action" value="Cancel" class="button" onclick="self.close()">
											</td>
										</tr>
									</form>
									</table>								
								</td>
							</tr>
						</table>					
					</td>
				</tr>
			</table>
			</td>
		</tr>
 	</table>
 </body>
<script>
	ReadData([var.Number]);
	function ReadData(number) {
		var js_str;
		js_str  = "";
		js_str += "var vuraian_a = window.opener.document.[var.FormName].uraian_a"+number+".value;\n";
		js_str += "if (vuraian_a.length) document.page2.uraian_a.value = vuraian_a;\n";
		js_str += "var vuraian_b = window.opener.document.[var.FormName].uraian_b"+number+".value;\n";
		js_str += "if (vuraian_b.length) document.page2.uraian_b.value = vuraian_b;\n";
		js_str += "var vuraian_c = window.opener.document.[var.FormName].uraian_c"+number+".value;\n";		
		js_str += "if (vuraian_c.length) document.page2.uraian_c.value = vuraian_c; \n";
		js_str += "var vuraian_d = window.opener.document.[var.FormName].uraian_d"+number+".value;\n";		
		js_str += "if (vuraian_d.length) document.page2.uraian_d.value = vuraian_d;\n";
		eval (js_str);
	}

	function WriteData(number) {
		var js_str;
		js_str  = "";
		js_str += "window.opener.document.[var.FormName].uraian_a"+number+".value = document.page2.uraian_a.value;\n";
		js_str += "window.opener.document.[var.FormName].uraian_b"+number+".value = document.page2.uraian_b.value;\n";
		js_str += "window.opener.document.[var.FormName].uraian_c"+number+".value = document.page2.uraian_c.value;\n";
		js_str += "window.opener.document.[var.FormName].uraian_d"+number+".value = document.page2.uraian_d.value;\n";
		eval (js_str);		
	}
</script>
</html>
